package com.kl.service.impl;

import com.kl.entity.TbAreas;
import com.kl.entity.TbCities;
import com.kl.mapper.TbCitiesMapper;
import com.kl.service.ITbCitiesService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 行政区域地州市信息表 服务实现类
 * </p>
 *
 * @author author
 * @since 2021-11-03
 */
@Service
public class TbCitiesServiceImpl extends ServiceImpl<TbCitiesMapper, TbCities> implements ITbCitiesService {
    @Autowired
    private TbCitiesMapper tbCitiesMapper;
    @Override
    public List<TbCities> select(Map<String, Object> map) {
        return tbCitiesMapper.selectByMap(map);
    }
}
